import {legacy_createStore,combineReducers,applyMiddleware} from 'redux'
import {composeWithDevTools} from 'redux-devtools-extension'
import logger from 'redux-logger'
import thunk from 'redux-thunk'
import store from './home/home'
import reducer from "./reducer";

export default legacy_createStore (
    combineReducers({reducer,store}),
    composeWithDevTools(applyMiddleware(thunk,logger))
)